module.exports = {
  filterData: function (data) {
    const excludeFields = ['change', 'create_time', 'update_time', 'unDetail', 'unDelete']
    const filtered = { ...data }
    excludeFields.forEach((field) => {
      delete filtered[field]
    })
    return filtered
  }
}
